home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / edit / tde40.zip / tdecfg < prev    next >
Text File  |  1994-06-05  |  18KB  |  517 lines

  1. ;
  2. ;                      TDE, the Thomson-Davis Editor
  3. ;                                Version 4.0
  4. ;                                June 5, 1994
  5. ;                                Frank Davis
  6. ;
  7. ; This file was intended to be used as a starting point for the .tdecfg
  8. ;   file in Linux.  As fas as I know, many keys available in DOS/Windows
  9. ;   are not available in Linux.
  10. ;
  11. ;
  12. ; These are the default function key, mode, and color assignments in
  13. ;   the distribution version of tde, version 4.0.  Please feel free to
  14. ;   change/modify these function assignments to suite your tastes.
  15. ;
  16. ;
  17. ;   s+  ==  Shift+     c+ == Control+
  18. ;
  19. ;
  20. ; Comments begin with a semicolon.
  21. ;
  22. ; Case is not significant for key names or function names.
  23. ;
  24. ;
  25. ; Oops, I forgot to document the two-key, WordStar-like key assigments in
  26. ;   previous versions of TDE:
  27. ;
  28. ;           1st key   2nd key    function
  29. ;           -------   -------    --------
  30. ;            c+k      TwoCharKey                      ; first, tell TDE two-key
  31. ;            c+k        q        Quit                 ; next, assign as many
  32. ;            c+k        w        SplitHorizontal      ;    two-keys as desired.
  33. ;
  34. ; To define a macro, use the Macro function assignment followed by the keys
  35. ;   in the macro.  In tde, macros are simple keyboard macros.  Define the
  36. ;   macros as if you were entering keys from the keyboard.  Literals should
  37. ;   be enclosed by double quotes.  Place all of the macro definition on one
  38. ;   line.  Lines may be up to 1000 characters long.  Recursive macro
  39. ;   definitions are allowed.  Here are a few macro examples:
  40. ;
  41. ;
  42. ; This macro splits the screen and loads in a custom help file when Alt+5 is
  43. ;   pressed.
  44. ;
  45. ; a+5         Macro  Center f9 s+f4 "myhelp.hlp" enter
  46. ;
  47. ;
  48. ; This simple recursive macro moves the cursor down until the eof is reached.
  49. ;   The last key in the macro definition calls itself.
  50. ;
  51. ; a+6         Macro down a+6
  52. ;
  53. ;
  54. ; In some instances, you may want to wipe out any previously assigned
  55. ;   macro.  For example, you may have saved a macro file in tde and now want
  56. ;   to erase a macro assigned to a key.  Use the Null function to clear a key.
  57. ;
  58. ; a+7         Null
  59. ;
  60. ;
  61. ; To assign ASCII or Extended ASCII characters to function keys, enclose the
  62. ;   character in quotes.
  63. ;
  64. ; s+a+A       Macro "ä"
  65. ;
  66. ; s+a+t       Macro "tde, the Thomson-Davis Editor"
  67. ;
  68. ;
  69. ; You may assign any editor function to any recognized function key with
  70. ;   no restrictions.  For example, the Enter key could be assigned to the
  71. ;   MarkBox function.  Additionally, No function is required to be assigned
  72. ;   to any key, e.g. you don't have to assign any function to the Enter key if
  73. ;   you don't want to.  One function may be assigned to several keys, but
  74. ;   one key may only be assigned to only one function.  If a key is assigned
  75. ;   to several functions, only the last function assignment has any effect.
  76. ;
  77. ; All of the 233 recognized function keys in tde are listed below.
  78. ; I marked those keys not recognized in curses under Linux with a '*'.
  79.  
  80.  
  81. ;
  82. ; basic editing keys
  83. ;
  84. enter         Rturn                     ; Note: Rturn is not spelled with an e
  85. ; * s+enter       NextLine                  ; first character in next line
  86. ; * c+enter       BegNextLine               ; column 1 of nextline
  87. ; * a+Enter
  88.  
  89. GreyEnter                               ; 101 keyboard on keypad
  90. ; * s+GreyEnter                             ; 101 keyboard on keypad
  91. ; * c+GreyEnter                             ; 101 keyboard on keypad
  92. ; * a+GreyEnter                             ; 101 keyboard on keypad
  93.  
  94.  
  95. backspace     BackSpace
  96. ; * s+backspace   BackSpace
  97. ; * c+backspace
  98. ; * a+backspace
  99.  
  100.  
  101. esc           AbortCommand
  102. ; * s+esc
  103. ; * c+esc         ClearAllMacros
  104. ; * a+esc
  105.  
  106. tab           Tab
  107. ; * s+tab         BackTab
  108. ; * c+tab         SetTabs
  109. ; * a+tab         ToggleSmartTabs
  110.  
  111. ;
  112. ; function keys
  113. ;
  114. f1            Help
  115. f2            Save
  116. f3            Quit
  117. f4            File
  118. f5            RepeatFindForward1
  119. f6            RepeatFindBackward1
  120. ;f7            RepeatDiff
  121. f7            RepeatFindRegX
  122. f8            SplitVertical
  123. f9            SplitHorizontal
  124. f10           NextWindow
  125. f11           RepeatDiff
  126. f12           RepeatGrep
  127.  
  128.  
  129. ; * s+f1          SaveMacro
  130. ; * s+f2          SaveAs
  131. ; * s+f3          LoadMacro
  132. ; * s+f4          EditFile
  133. ; * s+f5          FindForward
  134. ; * s+f6          FindBackward
  135. ; * s+f7          FindRegX
  136. ; * s+f8          ReplaceString
  137. ; * s+f9          SizeWindow
  138. ; * s+f10         PreviousWindow
  139. ; * s+f11         DefineDiff
  140. ; * s+f12         DefineGrep
  141.  
  142.  
  143. ; * c+f1          ToggleSync
  144. ; * c+f2          ToggleEol
  145. ; * c+f3          ToggleCRLF
  146. ; * c+f4          ToggleTrailing
  147. ; * c+f5          ToggleSearchCase
  148. ; * c+f6          SetLeftMargin
  149. ; * c+f7          SetRightMargin
  150. ; * c+f8          SetParagraphMargin
  151. ; * c+f9          ZoomWindow
  152. ; * c+f10         NextHiddenWindow
  153. ; * c+f11
  154. ; * c+f12         DefineRegxGrep
  155.  
  156.  
  157. ; * a+f1          DirList
  158. ; * a+f2          SetFileAttributes
  159. ; * a+f3          RecordMacro
  160. ; * a+f4          EditNextFile
  161. ; * ; a+f5          RepeatFindForward2
  162. ; * ; a+f6          RepeatFindBackward2
  163. ; * a+f5          NextDirtyLine
  164. ; * a+f6          PrevDirtyLine
  165. ; * a+f7          FormatParagraph
  166. ; * a+f8          LeftJustify
  167. ; * a+f9          RightJustify
  168. ; * a+f10         CenterJustify
  169. ; * a+f11
  170. ; * a+f12         RepeatFindRegX
  171.  
  172.  
  173. ;
  174. ; control cluster / keypad keys
  175. ;
  176. Home          BegOfLine
  177. End           EndOfLine
  178. Left          CharLeft
  179. Right         CharRight
  180. Up            LineUp
  181. Down          LineDown
  182. PgUp          ScreenUp
  183. PgDn          ScreenDown
  184. Ins           ToggleOverWrite
  185. Del           DeleteChar
  186. Center        CenterWindow              ; center is the center of the key pad
  187.  
  188. ; * c+Home        TopOfScreen
  189. ; * c+End         BotOfScreen
  190. ; * c+Left        WordLeft
  191. ; * c+Right       WordRight
  192. ; * c+Up          ScrollUpLine
  193. ; * c+Down        ScrollDnLine
  194. ; * c+PgUp        TopOfFile
  195. ; * c+PgDn        EndOfFile
  196. ; * c+Ins
  197. ; * c+Del         StreamDeleteChar
  198. ; * c+Center      CenterLine
  199.  
  200.  
  201. ; * a+GreyHome                              ; 101 keyboard
  202. ; * a+GreyEnd                               ; 101 keyboard
  203. ; * a+GreyLeft    PanLeft                   ; 101 keyboard
  204. ; * a+GreyRight   PanRight                  ; 101 keyboard
  205. ; * a+GreyUp      PanUp                     ; 101 keyboard
  206. ; * a+GreyDown    PanDn                     ; 101 keyboard
  207. ; * a+GreyPgUp    HorizontalScreenLeft      ; 101 keyboard
  208. ; * a+GreyPgDn    HorizontalScreenRight     ; 101 keyboard
  209. ; * a+GreyIns                               ; 101 keyboard
  210. ; * a+GreyDel                               ; 101 keyboard
  211.  
  212. ; * Grey+         ScrollDnLine              ; with Numlock off
  213. ; * Grey-         ScrollUpLine              ; with Numlock off
  214.  
  215. ; * c+Grey+       PanDn
  216. ; * c+Grey-       PanUp
  217. ; * c+Grey/       IfCapsLock                ; 101 keyboard
  218. ; * c+Grey*       IfNotCapsLock             ; 101 keyboard
  219.  
  220. ; * a+Grey/                                 ; 101 keyboard
  221.  
  222.  
  223. ; * s+c+left      PanLeft
  224. ; * s+c+right     PanRight
  225.  
  226.  
  227. ;
  228. ; Alt keys
  229. ;
  230. ; * a+a           AddLine
  231. ; * a+b           MarkBox
  232. ; * a+c           CopyBlock
  233. ; * a+d           DeleteLine
  234. ; * a+e           BlockExpandTabs
  235. ; * a+f           FillBlock
  236. ; * a+g           DeleteBlock
  237. ; * a+h           Help
  238. ; * a+i           ToggleIndent
  239. ; * a+j           JoinLine
  240. ; * a+k           KopyBlock
  241. ; * a+l           MarkLine
  242. ; * a+m           MoveBlock
  243. ; * a+n           NumberBlock
  244. ; * a+o           OverlayBlock
  245. ; * a+p           PrintBlock
  246. ; * a+q           Quit
  247. ; * a+r           ToggleRuler
  248. ; * a+s           SortBoxBlock
  249. ; * a+t           BlockTrimTrailing
  250. ; * a+u           UnMarkBlock
  251. ; * a+v           ToggleWordWrap
  252. ; * a+w           BlockToFile
  253. ; * a+x           MarkStream
  254. ; * a+y           UndoDelete
  255. ; * a+z           ToggleZ
  256.  
  257.  
  258. ; * a+~
  259. ; * a+1           SetMark1
  260. ; * a+2           SetMark2
  261. ; * a+3           SetMark3
  262. ; * a+4
  263. ; * a+5
  264. ; * a+6
  265. ; * a+7
  266. ; * a+8
  267. ; * a+9
  268. ; * a+0
  269. ; * a+-